package reduce.fz.com.reduce.custom;

import android.content.Context;
import android.util.AttributeSet;
import android.util.TypedValue;

import reduce.fz.com.reduce.R;

/**
 * Created by qingshengzheng on 16/2/5.
 */
public class DetailUserFollowView extends BaseFollowView {
    public DetailUserFollowView(Context context) {
        super(context);
    }
    public DetailUserFollowView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }
    @Override
    public void nofollowStatus() {
        setText("+ 关注");
        setTextAppearance(getContext(), R.style.userDetailFollowStyle);
       // setBackgroundResource(R.drawable.user_detail_follow_selector);
        //setCompoundDrawablesWithIntrinsicBounds(R.drawable.detail_follow_white,0,0,0);
    }

    @Override
    public void followStatus() {
        setText("已关注");
       // setCompoundDrawablesWithIntrinsicBounds(R.drawable.detail_has_follow_gray, 0, 0, 0);
        setTextAppearance(getContext(), R.style.userDetailFollowStyle);
        //setBackgroundResource(R.drawable.user_detail_follow_selector);

    }
}
